private static string GetIdentifierFieldName(ClarifyGenericMapEntry rootGenericMap)
        {
            var identifierFieldName = rootGenericMap.GetIdentifierFieldName();

            if (identifierFieldName == null)
            {
                throw new DovetailMappingException(1003, "Map for type {0} does not have an identifying field defined.", typeof(MODEL).Name);
            }

            return(identifierFieldName);
        }
        private static string findIdentifierFieldName(ModelMap map, ClarifyGenericMapEntry rootGenericMap)
        {
            var identifierFieldName = rootGenericMap.GetIdentifierFieldName();

            if (identifierFieldName == null)
            {
                throw new DovetailMappingException(1003, "Map \"{0}\" does not have an identifying field defined.", map.Name);
            }

            return(identifierFieldName);
        }