I think a formula for this should be standardized
You mean there should already exist a formula that is standardized or that it should be formally defined for nostr as a nip?
Second one, need to create one.
No, this is a client choice thing