CmdIDs

- Migrated util.cpp compressIds to CmdIDs::compressIds, as this is the only
  place it is used.