I don't believe a reptile can have a gender preference, I think it is like with most animals an individual preference based on scent and energy. I do believe they can have preferences to certain people as they are capable of identifying and recognizing scents and people that are scared, nervous, angry give off clear signals and energy to animals.

Regarding dogs and gender preferences it is less gender related and more related to the handler, the situation and the person that the dog currently doesn't like. Handlers/owners project nervousness and uncertainty into their dogs, and an unsocialized dog with a handler that thinks their dog is going to react badly will react badly. I've handled and trained dogs where owners claimed they either only liked or hated women, and by the end of the first session the dog loved me or the male neighbors.

Gender preferences in animals are strictly due to the handler.