How is pheromone specificity encoded in proteins?