Fix Musicbrainz ID calculation in makeids()