authorityOf
The authority an NSID's lexicon is published under: its domain part, as a domain (codes.tcm.release →
tcm.codes), whose _lexicon DNS record names the DID publishing it.
export const authorityOf = (nsid: string): string => nsid.split(".").slice(0, -1).reverse().join(".")