Added index extension method for encoding simple token references (Note: They currently only generate wide indices by default)