This should be a method in the profile_field class.
Because this is incorrect for integers atm.

Also this should have tests then