For the gender, have a look at the hind end. Slit-shaped == female; both ports round == male.

Cheers