Gravar-mail: An automated stochastic approach to the identification of the protein specificity determinants and functional subfamilies