mixpanel: refactor to prefer mixpanel distinct id whenever available