code: public String extractName(XAttributable element) {
  		XAttribute attribute = element.getAttributes().get(KEY_NAME);
  		if (attribute == null) {
  			return null;
  		} else {
  			return ((XAttributeLiteral) attribute).getValue();
  		}
  	}
docs: Retrieves the name of a log data hierarchy element, if set by this
  extension's name attribute.
  
  @param element
  Log hierarchy element to extract name from.
  @return The requested element name.