A digital ID can easily be encoded into a microchip and embedded into the body. I can see an abusive government requiring it's citizens get the chip or be denied services or even the ability to purchase food, property or receive medical care.
This was foreseen thousands of years ago and is recorded in the Book of Revelations.