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

I have been running @NixOsTips and linking to various parts of the manual. However automaticic id generation can change so I went over all the items and attached more properly named ids like chap- sec- appx- and so on.