How Digital Identity Works on the Blockchain