Molecular mechanisms for specificity in cell signaling