retrieve MIDs for tracks or artists