I assume that by "gender" you are referring to physical sex, as in having the reproductional characteristics of male or female.
This is probably covered by page 5 of the DMG in the description of Part 3 of that book, "Master of Rules": "The rules don't account for every possible situation that...