Evolving specificity from variability for protein interaction domains.