Tag index

Just starting on this, not for merging yet, but feedback welcome.
It's the ID of the series. Measurements don't really have an id other than their `name`