added macro for bson attribute fields

`init_method = :"init_attr_for_#{name}"`?