move set_chef_id from resource to ChefObject