Add attribute.field support for sync()