get cookie id