expressionFromIds function

Generates a query expression for matching transcripts or participants by ID, for use with getMatches