add id column to target#index table

Because there are multiple targets with the same phrase, it's useful to
be able to refer to them by id number.