Add IDs for h2 elements.