refactor: add AttrRef AST node for more clean name resolution