PathId
The structural identity of a generated KeyPath or CaseKeyPath.
Equality and hashing deliberately describe the KeyPath or CaseKeyPath, not a closure or allocation that happens to implement it. Generated paths use stable fully-qualified type names and ordered segments.