Used to compare this {@link PDMDefinition} to another's id taking into account
only the the definition id

- otherDefnId (Int32)
- the other definition id to compare against

0 if the two are equal, 1 if this {@link PDMDefinition} is greater,
-1 if this {@link PDMDefinition} is less