public void decodeHeader(Decoder decoder) throws DecoderException {
		int el = decoder.openElement();
		name = decoder.readString(ATTRIB_NAME);
		id = (int) decoder.readUnsignedInteger(ATTRIB_ID);
		scopeid = (int) decoder.readUnsignedInteger(ATTRIB_SCOPE);
		decoder.closeElement(el);
	}
Base class for symbols in sleigh
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/symbol/Symbol.java