Deduplicate asm constants, automate name prefixing