I have come across heuristics where you can modify the {session} label of a BIDS filename with a function at the end of the heuristic. Here is an example:
There are a few example heuristics included within heudiconv that do just this, take a look at how this one changes the acq label based on the series name.