Because we don't generate header tags with IDs without it.  `options->toc_data.nesting_level` was only initialized properly in the `HTML_TOC` renderer before this change.