Welfare schemes and identity politics propelled the BJP to power