For instance, in the CS department here in Madison, we set the UID_DOMAIN to be cs.wisc.edu because all of the computers have the same users. But if they didn't have the same users, we would set the UID_DOMAIN to $(FULL_HOSTNAME)--then each computer has a different UID_DOMAIN and it won't try to run as the same user.
-Tim