#981364 by sun, naught, chx: fix field schema column and variable names. fix hook_field_is_empty() implementation.