make get_macro_path context aware so it can look up class statics and imported globals
sneak in case @:macro (don't use this in production code yet)