The UK is preparing to roll out a national digital ID system, a move the government says will make it harder for illegal migrants to work while giving citizens faster access to essential services.