When defining a dynamic link href or the like, you can do something like:
for
path: "/people/:people_id/:business_id?"
the link could be
dmx-bind:href="'/people/'+peopleval.default('x')+'/'+businessval.default('x')"
I would imagine that you people and business IDs are both integers so setting a letter as the default ensures no match - you might just need to handle this on the page.
That way you could look up a person, a business or a person belonging to a business