Making 'id' always have an index

Isolating this one issue that should probably be addressed soon.

We can't try to create an index on the primary key, or it will err, and we always want it to act as an index in queries.