code: public void assignName(XAttributable element, String name) {
  		if (name != null && name.trim().length() > 0) {
  			XAttributeLiteral attr = (XAttributeLiteral) ATTR_NAME.clone();
  			attr.setValue(name);
  			element.getAttributes().put(KEY_NAME, attr);
  		}
  	}
docs: Assigns any log data hierarchy element its name, as defined by this
  extension's name attribute.
  
  @param element
  Log hierarchy element to assign name to.
  @param name
  The name to be assigned.