Fix 'to root' context menu functionality. #457

The root id was set statically as '0000' which is not right since a long time. Now we use the idHandler to get the right id using the token's id to infer the root id.