Popular belief is animals can't reason therefore they can't know the difference between male and female. But, like the scorpion, they can tell when it's time to have sex and with whom.
I don't know animals can't reason but I do know my dog is the only creature I know well that doesn't care one bit what I look like. He accepts who I am, regardless of appearance. Humans could learn a lot from animals.
Julie