Redeclared attrs, qualifiers, and uniqueness rules

Inherited attributes need qualifiers when used in uniqueness rules, except when they are redeclared. Print a warning if a redeclared attr is found with qualifiers in a uniqueness rule.

This pull request also removes a potentially misleading warning that was printed for _all_ redeclarations.