Identity politics, usually portrayed as a spectre haunting liberalism, is actually key to understanding uprisings against state power.