The microfoundations of identity politics in Pakistan's megacity