Infer person.geschlecht from type_id.