The optional label attribute is the model entity "nameplate". Normally it can be seen at the entity item in the project tree.
Source
<xs:element name="Polyline12" type="Polyline12Type" substitutionGroup="Curve12"><xs:annotation><xs:documentation>The global Polyline12 element is a 2D polyline.</xs:documentation></xs:annotation></xs:element>