Extended headerid's rawHTML in id handling to toc ext.