As Labour plans tougher immigration rules and Holyrood targets faith schools, Kevin McKenna explores how identity politics and policy shifts ...