String nextId;  org.dom4j.Attribute uidAttr= element.attribute("uid"); if (uidAttr != null) { nextId = uidAttr.getValue(); } else { nextId = String.valueOf(count++);
if (scanning) { count = 0; scanning = false;
		public String getInstanceValue(Element element, String appName) throws MissingNodeException {			String nextId;			org.dom4j.Attribute uidAttr= element.attribute("uid");			if (uidAttr != null) {				nextId = uidAttr.getValue();			} else {				nextId = String.valueOf(count++);			}						return "\"" + appName + "-" + nextId + "\"";		}