But, only refer to them this way if you're absolutely sure of their rank or title. Although most people want to be honest, don't volunteer self-incriminating information. But if there's a valid reason for your conduct, such as a medical emergency, say so. Do not argue or plead your case. The roadside is never the place to conduct a hearing.
Cops enforce, courts decide.
If you make a fuss, the officer is more likely to remember you when you go to trial. That's bad, you want to be as forgettable as possible. However, only ask for this information after the officer has given you the ticket. Note the make and license plate of the officer's car. Also look for ID numbers on the sides.