Validate requested sample ids.