One big factor determines whether a misbehaving kid sees a doctor or a cop