As countries grapple with the rollout of digital IDs, gaps emerge caused by a lack of standards and ever-adapting AI threats.