Add `tag` attribute to headings

This change makes it possible to treat each heading differently based on the heading level.