Concepts and methods for integrating language typology and sociolinguistics