First pass at setting UIDs
Second pass at fixing SerialUID in Mry