Fix selection of IDs
Check name passed to .data function