add ids to headings