if so, what gender are people who have both male and female genitalia? What about people born with none at all?
They are "hermaphrodites", but I don't think they have both male and female genitalia is a fully-formed way, and human hermaphroditism is not the functioning form that exists in many invertebrates.