Using the id_somthing as index in an array looks always loike a good thing

Signed-off-by: emanuele <emanuele45@gmail.com>