Don't serialize identity column if it's nil

Sending the NULL value in identity column when inserting a record would
cause Sequel::NotNullConstraintViolation exception. This patches the
`Coercer#to_record` to serialize the identity column only when it's
assigned.
Merge pull request #1 from sidonath/dont-insert-identity

Don't serialize identity column if it's nil