Field sanitizer function.