Okay might not be the best solution but specifically for live max msp they have an API maybe you can use to determine which track it’s coming from. not a universal solution though . I don’t think you would have juce plugin anymore
Or else you would have to tell your user to specify a midi channel 1-16 and that’s how you can separate them