Added support for filtering by ID or by multiple IDs into Criteria class.