Mamdani's commitment to principle over party is a defining characteristic.