if the primary fields has only 1 element, mapping it to _id