code: public Attribute getAttributeByOriginalName(String name) {
  		for (Attribute a : attributes)
  			if (name.equals(a.getOriginalName()))
  				return a;
  		return null;
  	}
docs: Get an attribute by its original name.