add canonical name for codex
store codex ref in created symbols
introduce debug macro to clarify symbols

output of the macro is not directly usable as code, its purpose is only
to be reader-friendly.