Fix bug in attribution

- Don't add important constant decls to global namespace until after
  they are attributed