Workaround for Sphinx bug (it doesn't understand quoted `id`)

Looks like the bug only presents in Sphinx 2.0.7. See http://sphinxsearch.com/bugs/view.php?id=1487 for more details.