Added auto id assignment operation for OpenCG compatibility module