What is the primary function of carbohydrates attached to the exterior of cell membranes?

identification of the cell
flexibility of the membrane
strengthening the membrane
channels through membrane