Social structure and political development in Kerala