Add id column to indexes