The cddb protocol defines an ID as a hash of track lengths and the number of tracks, with an added checksum.