Just ahead of the assembly elections in Uttar Pradesh in early 2017, this is an analysis of the identity politics that is scripting a new political paradigm in the state, undermining the focus of political parties on ideology and social justice, and transforming the Samajwadi Party, which once stood for secularism and inclusion, into a caste-based, criminalised organisation.