Soziolinguistik, Pragmalinguistik und historische Sprachwissenschaft