Having sex, yes, but with whom? Inferences from fungi on the evolution of anisogamy and mating types