Add unique index on name