There is [signatureHash](https://nim-lang.org/docs/macros.html#signatureHash%2CNimNode) and [symBodyHash](https://nim-lang.org/docs/macros.html#symBodyHash%2CNimNode), though apparently these are not good enough for all cases and there was [a PR](https://github.com/nim-lang/Nim/pull/13305) to add what you said separately.
- Unique ID's for types? elcritch
- Unique ID's for types? Hlaaftana
- Unique ID's for types? shirleyquirk
- Unique ID's for types? tsojtsoj
- Unique ID's for types? elcritch
