Dynamic native should be fine. I'm not sure why you want to differentiate things. Just a matter to put the prototype in the target plugin, maybe adding some check if native exists. That's all.
Actually, I'm not sure what you're trying to achieve. Dynamic calculation or something ?