added getter for sex

just added a getter for sex, ran into a situation where this made more sense than checking isMale or isFemale