private byte[] validateAndCopyIdentifier(byte[] array) {
		if (array == null || idType == SourceFileIdType.NONE) {
			array = new byte[0];
		}
		if (array.length > SourceFileIdType.MAX_LENGTH) {
			throw new IllegalArgumentException(
				"identifier array too long; max is " + SourceFileIdType.MAX_LENGTH);
		}
		if (idType.getByteLength() != 0 && idType.getByteLength() != array.length) {
			throw new IllegalArgumentException(
				"identifier array has wrong length for " + idType.name());
		}
		byte[] copy = new byte[array.length];
		System.arraycopy(array, 0, copy, 0, array.length);
		return copy;
	}
Returns a String representation of the identifier
@return id display string
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/sourcemap/SourceFile.java