Add numeric validator for float fields by default.

Make bake add numeric validator to float fields.

Fixes #2163