Don't modify id of math element

* Reverts a change that modifies the ID of the math element.
  This can be done by the new hook if desired.

Change-Id: Ic3bdfa4e3bab3b1712d9de6b2fea27f17a8d470f