use pre-assigned PIDs for batch ingest when available; closes #371