remove repeated ids from HTML

I had been misusing ids for ages because I didn't know how things worked when I started Numbas.
Now styling for every element that occurs more than once is done through a class, not an id, like it should be.