The evolution of the cell–cell recognition system