Attempts to infer the lerna field type from its name and other properties.
Contains a function infer that takes a lerna field and dispatches based on type.
infer
Based on the name or other properties of the field, the infer function will return a more specific field type.