Added support for index indentifiers

This is dependent on https://codereview.appspot.com/14743044
R=arv@chromium.org, arv
BUG=

Review URL: https://codereview.appspot.com/14756043