Add primary key to mesh_term table

The timestamps are not much use if there is no primary key preventing
collisions.