set: warn on setting a universal variable when a global is active

Closes #806.