Added unique ID constraints to all other global elements; for #43