Get rid of a few (duplicated) UUID string literals.

Also added scripts/find_uuids.sh, a script that finds and prints
all UUIDs that are common between all grids.