public ResourcesPoet addId(String id){
  Element bool=document.createElement("item");
  bool.setAttribute("name",id);
  bool.setAttribute("type","id");
  resourceElement.appendChild(bool);
  return this;
}

public ResourcesPoet addId ( String id ) { Element bool = document . createElement ( "item" ) ; bool . setAttribute ( "name" , id ) ; bool . setAttribute ( "type" , "id" ) ; resourceElement . appendChild ( bool ) ; return this ; }
add an id to the config
