What determines the function of a protein?