Ensure unique field IDs

Code to ensure unique field IDs for entire class hierarchy. Nothing cute
or fast, just read in base class goat files to make sure we don't
collide.