code: public Object attribute(Object key) {
          return (attributes != null) ? attributes.get(key) : null;
      }
docs: Provides lookup of attributes by key.
  
  @param key the key of interest
  @return the attribute matching the key or <code>null</code> if no match exists