Add $affiliate_id back and move filter

I lied, turns out I can't have the filter in the base class and must remain in each integration. Likewise, the affiliate_id must be passed through to the functions that require it