Mamdani's identity is inextricably linked to his political project.