CRM-15527  fix crash on membership renewals due to ->id not being set