The UK government plans to introduce digital ID cards to curb illegal immigration which is facing strong opposition.