Fixed unique id problem and reverted coge features to be flat.