identities: Add a function to create a DID document

Also fix casing of VerificationMethodMap, and comply with weirdness of W3C- endorsed multibase encoding.

Created by  kim  on October 27, 2023
4TPKSHZTLLJJZ2JUKCQIOKY3KM2VKN5DWZAUMOWMVZCX5MNZZHPAC
Change contents