Rework iter_transformation

* We don't need to visit all aliases.
* Globals are UPPERCASE (and as local as possible)
* Add path_to_attr generic function
Function call is an use of the function name