Oh no, German Grammar...

:-) . I worked with Germans a few years ago, and even they didn't know 100% if it was -n, -m, -s, -r und so weiter.. :-)
But Jesper is right, it depends of the context.
German Grammar is a minefield. (einen Minenfeld? eines Minenfeld?? einer Minenfeld????

:-) )
Cheers
Henk
P.S. As for your question to die or das, that would propably be die then, as das ist Fraulich, end der ist Mannlich. Which makes die a-sexual. or maybe trans-sexual.. ;-*