Any process that establishes and transmits the specification of mating type upon an individual. Mating types are the equivalent in microorganisms of the sexes in higher organisms.
mating type determination