List fieldList = (List) fieldLists.get(path);
Object field = fieldList.get(fieldList.size() - 1);
if (!(field instanceof CMRFieldBridge)) {
throw new IllegalArgumentException("Path is collection valued: " + path);
}
CMRFieldBridge cmrField = (CMRFieldBridge) field;
if (cmrField.isSingleValued()) {
throw new IllegalArgumentException("Path is collection valued: " + path);
}
identifiers.put(identifier, cmrField.getRelatedEntity());
}