How did the different levels of society affect the way people treated one another in the 18-19th centuries?