Social Formations and Cultural Patterns of the Medieval World