Prepend chapter slug to heading IDs

This allows sections with the same name in different chapters.