In filter, grouping and sorting expressions, the following subset of IDs are accessible:
For details on those object types, see IDs Accessible in Text Expressions.