Enable automatic header id generation for specialist documents

Specialist documents include a context menu which allows navigation
within the document on a single page. This relies on the headings having
id attributes.

https://www.pivotaltracker.com/story/show/65350948