concatIds() from ytApi.py refined