getIdentity = async (hash) => {
    const bytes = await storage.get(hash)
    if (bytes) {
      return decodeIdentity(bytes)
    }
  }
Gets an identity by hash.
@param {string} hash An identity hash.
@return {module:Identities~Identity} An instance of identity.
@memberof module:Identities~Identities
@instance