A new approach to revealing functional residues from analysis of protein primary structure