It could be done, but it would help reverse-engineers because then C2 has to include a full list of all object names. Currently it obfuscates all object names to make it harder to understand the exported project. So are you sure you want it when it makes reverse-engineer's lives easier?
hashmap the names, make the compiler ensure all existing names produce unique hashes.
you can use a fast one-way hashing that's not cryptographically safe (you could even use one of those ultra-fast XOR hashes, since the compiler will be doing the collision checking)