Determination and stability of gonadal sex.