Add IDs to all headings