I have the following code. I am able to load the field collection item using entity_load_single. I want to be able to get the node id for a given field collection item. How can I achieve this?
function dc_car_guide_model($model_id)
{
$model = entity_load_single('field_collection_item', $model_id);
//How can I get nid?
}