added set.sex to fields and initFields for GenericModel