The sense of being male, female, both, or neither, which may or may not correspond with a person's biological sex.