It is the "totality" of the circumstances
RAS is complex and simple at the same time.
If a Muni restricts OC to persons with a ccw, a MWG call comes in, the officer sees the person OC, he does NOT have RAS to check to see if they have a CCW license.
He CAN initiate casual contact just like they can anyone else. He MAY develop RAS from that casual contact. They are in fact trained to do so, persons not familiar with it should quickly get familiar with it if they intend upon OC'ing in areas where it has any type of restriction.
The "do I have to show ID" question is not answerable without context. Generically an officer may not walk up and just demand your ID whether OC or not, however under other circumstances when an officer may have developed RAS and that officer is under no obligation to inform you of any of the facts, he is in fact NOT ON YOUR SIDE, he works for the prosecutor, not you.
A practical determination can somewhat be made by how the ID is asked for, but again it is not perfect. If an officer ASK you for something, they likely have NO AUTHORITY to get it from you, if they DEMAND it, they likely do have said authority, thought that does not mean it is in your best interest to give it to them, it COULD be.
The key is knowing and understanding your own rights and asserting them within the rules of law. When you see some of the youtube videos that involve encounters with the police, much of what you see is kind of stupid. When you hear some dipstick hollaring about their fifth amendment rights and then they continue to speak afterwards, they clearly have no idea of what they are talking about. Once you say it, you have to stop talking or it is generally accepted that you have waived that right by continuing to speak.
No one here can answer the question of ID requirements, it is a legal question for a lawyer. Two municipalities in MO DO have stop and identify laws on the books, the constitutionality of them is questionable but they do exist.
Don't take my advice or anyone else here, ask a lawyer, your freedom may depend upon it.