making 'id' always have an index
Merge pull request #24 from mshick/id_has_index

Making 'id' always have an index