Updated dictionary.rst documentation and removed program data structure comments

Also removed the documentation for an unimplemented method for resolving agent codes (which we probably don't want to implement: a separate "attributes" set should be cleaner.