make id boost::uuid & small fixes:make refs const,group methods faster