You are somewhat right, I used tagging masks to differntiate between different types of atoms [1]. But yes, interning will be backed by a correct implementation of a hashmap with some collision handling in the future.
[1]: https://github.com/xNaCly/purple-garden/blob/master/cc.c#L76...