is there a great god to help write a function that processes $arr into $arr1
$arr = array(
array("id"=>"1","name"=>"a"),
array("id"=>"1","name"=>"b"),
array("id"=>"1","name"=>"c"),
array("id"=>"2","name"=>"d"),
array("id"=>"2","name"=>"e"),
);
$arr1 = array(
array("id" =>1, "name"=> array("a","b","c")),
array("id" =>2, "name"=> array("d","e")),
);