The controversy over South African athlete Caster Semenya's gender has given the public a view into the complexities of gender. At first blush, the issue should be fairly straightforward: a person is either a male (with an X and a Y chromosome) or a female (with two X chromosomes). But the reality is that a number of conditions can blur the gender line.