@Override
	public String getFieldName() {
		if (component == null) { // is array?
			return "[" + this.indexInParent + "]";
		}
		String myName = component.getFieldName();

		// if the name is blank, look up in sym table for any references
		if (myName == null || myName.length() == 0) {
			myName = "field" + component.getOffset();
		}
		return myName;
	}
<code>DataComponent</code> provides Data and CodeUnit access to Struct and Array components.

NOTE!! DataComponents only have a unique key within its parent Struct/Array.  This places a constraint on
the use of the key field and getKey() method on the underlying classes CodeUnitDB and DataDB.
The CodeUnit key should only be used for managing an object cache.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/util/PseudoDataComponent.java