The rise of individual personhood in early medieval China