public static String getDefaultExternalName(Address addr, DataType dt) {
		if (dt != null) {
			String prefix = dt.getDefaultLabelPrefix();
			if (prefix != null) {
				return DEFAULT_EXTERNAL_ENTRY_PREFIX + prefix + UNDERSCORE + getAddressString(addr);
			}
		}
		return DEFAULT_EXTERNAL_ENTRY_PREFIX + getAddressString(addr);
	}
Generates a default external name for a given external data/code location.
@param addr the memory address referred to by the external.
@param dt data type associated with the specified external memory address
@return the default generated name for the external.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/model/symbol/SymbolUtilities.java