Origin And Functional Diversification Of Protein Sensory Domains