created the BaseNestableField to subclass NestedField, RelationField and AssociationField from