I have the following array:

```
Array (

    [0] => Array (
        [nombre] => Juan Mandrola
        [id] => 5
        [fecha_egreso] => 15/10/2014
        [hora_egreso] => 15:00
    )

    [1] => Array (
        [nombre] => Pedro Martinez
        [id] => 5
        [fecha_egreso] => 17/10/2014
        [hora_egreso] => 15:00
    )

)

```

I need to separate the first array into 2 arrays, changing the element "nombre" for "mecanico" and the other elements in another array named "tarea".

```
Array (

    [0] => Array (
        [mecanico] => Juan Mandrola
        [tarea] => Array (
                [id] => 1
                [fecha_egreso] => 15/10/2014
                [hora_egreso] => 15:00
            )

    )

    [1] => Array (
        [mecanico] => Pedro Martinez
        [tarea] => Array (
                [id] => 5
                [fecha_egreso] => 17/10/2014
                [hora_egreso] => 15:00
            )

    )

```

Thank you very much for your help!