Deep linking with optional prams?

I just actually found out what deep linking is for and it helps me a lot.
My problem though, I have a page that is usually called from the tabs, but also sometimes pushed with an argument.
So with dynamic deep links I either have to have it working without the parameter or supply a standard one with the tab.
Any ideas on that?