Use `bp_xprofile_create_field_type()`, don't re-invent the wheel.