setCustomDimensions by name

Hi,

We use Matomo to track hundreds of customer applications. Each customer can create their own custom dimensions, and those match the customers internal database field name.

What happens is that customers create these custom dimensions on their own timeline, so we might have one customer where

“location_id” is custom dimension 1,where another customer “location_id” is custom dimension 5. It would be nice to have a call that allowed setCustomDimensions by name since we don’t really care about the ID, and more importantly, we don’t know it at runtime.

Thanks!