The id attribute is the QIF id of the characteristic, used for referencing.
Source
<xs:complexType name="UserDefinedMassCharacteristicNominalType"><xs:annotation><xs:documentation>The UserDefinedMassCharacteristicNominalType is a characteristic nominal specified by the user that is measured in mass units.</xs:documentation></xs:annotation><xs:complexContent><xs:extension base="MassCharacteristicNominalBaseType"/></xs:complexContent></xs:complexType>