Add named id to all chapters, sections, and appendices so
they are easier to link to.