Add support for configurable primary fields
convert repligard table to use guid as primary field for better compatibility with converted mgd1 databases