For Users
For Developers/Contributors
convert_to_type()
Convert value from string to another type. vid is only for generating better error messages.