Add var_prefix param to BasePlugin
Parse relationship tag pairs properly