Issue 4920 autoref index operator

Per discussion on IRC.

r? @pcwalton