The die message should start with a capital.  It's a sentence.

die() implicitly does a format, so this should be written something like:

`die("couldn't find target document section {0}:\n{1}", sectionID, outerHTML(el))`