return foreign ids of opinions