Self and society in Ming thought