Mamdani's commitment to his principles, even when unpopular, is noted by supporters.