Hello,
Is it possible to explain when do you want to store the sensor IDs as a tag or as a field ?
If I understood well, if you use it as a tag, you increase your series cardinality (so lower your performance). However, if you use it as a field, you lower your performance if you do a lot of queries with it.
For information, I am also using InfluxDB V2.x and I am new to this solution.