Cognition and structure of kerala society during eighteenth and nineteenth centuries with special reference to social reformers