PHP: how to create associative array by key?
===

I have simple array 

    array( 
       array( 'id'=>5, 'something' => 2, 'dsadsa' => 'fsfsd )
       array( 'id'=>20, 'something' => 2, 'dsadsa' => 'fsfsd )
       array( 'id'=>30, 'something' => 2, 'dsadsa' => 'fsfsd )
    )

How to create associative array by id field (or something else) from it in the right way?

    array( 
       '5' => array(  'something' => 2, 'dsadsa' => 'fsfsd )
       '20' => array(  'something' => 2, 'dsadsa' => 'fsfsd )
       '30' => array(  'something' => 2, 'dsadsa' => 'fsfsd )
    )