Returns a version 5 (name-based) UUID based on the SHA-1 hash of a
namespace ID and a name
@psalm-pure note: changing the internal factory is an edge case not covered by purity invariants,
but under constant factory setups, this method operates in functionally pure manners
Parameters
string|UuidInterface $ns The namespace (must be a valid UUID):