anonymousId: re-generate when user id changes

cc @calvinfo