Modified unique constraint for identifier