No one likes run-ins with police, for any sort of criminal defense or questioning, including DUI. You have both rights and responsibilities, in any situation. It's almost always valuable to get a qualified criminal defense attorney on your side.
Police Can't Always Require ID
Many people don't know that they don't have to answer all a police officer's questions, even if they have been pulled over. Even if you are required to show your ID, you usually don't have to say much more about anything such as your recent whereabouts and activities or whether you drink, in the case of a drunken driving stop. These protections were put into the U.S. Constitution and affirmed by the courts. You have a right not to incriminate yourself, and you have a right to walk away if you aren't being detained or arrested.
Even good guys need criminal defense lawyers. Whether or not you've done anything blameworthy such as driving drunken or speeding, you should take advantage of the protections available to you. Knowing all thelegal requirements and being familiar with the multiple situations in which they are applicable should be left up to qualified attorneys. It's also worth saying that laws occasionally change during deliberative sessions, and many courts are constantly making new rulings.
There are Times to Talk
It's good to know your rights, but you should know that usually the police aren't out to harm you. Most are good men and women, and causing disorder is most likely to harm you in the end. You probably don't want to make cops feel like you're against them. This is an additional reason to hire an attorney such as the expert lawyer at criminal attorney Portland OR on your defense team, especially after being arrested. Your lawyer can advise you on when you should speak up with information and when to keep quiet.
Know When to Grant or Deny Permission
Unless police officers have probable cause that you you are a criminal, they can't search your house or your car without permission. However, if you begin to talk, leave evidence lying around, or submit to a search, any data found could be used against you in future criminal defense proceedings. It's usually best to not give permission.