Escape " in docid label (closes #4094)