Add inputhash as id for mathml element

To identify the MathML-element in the page it is
helpful have the inputhash in the mathml element.
The alttext field is not really suitable as a key.

Change-Id: I1f9b352bbb70405bb6ab22f0094d81ae9cf2c80a