generate guids for objects