adds id to TOC links. refs #4360

This fix is for #4360.