Globals.findObjectFromId extended to find objects of all categories