Renaming of Dimension::id to Dimension::index

... since there were no negative comments, here are the changes :-)