assign ids in greenplum