Add ids to headings