support AR scopes when attr is defined in a module
Merge pull request #55 from brainspec/module-scopes

support AR scopes when attr is defined in a module