public String getTagName() {
        if (getTagInfo() == TiffTagConstants.TIFF_TAG_UNKNOWN) {
            return getTagInfo().name + " (0x" + Integer.toHexString(getTag()) + ")";
        }
        return getTagInfo().name;
    }
Returns the field's tag, derived from bytes 0-1.

@return the tag, as an {@code int} in which only the lowest 2 bytes are set
src/main/java/org/apache/commons/imaging/formats/tiff/TiffField.java