Much of your answer will depend upon what you agreed to in order to live in the dorm room. You will need to look at the paperwork you signed and see what you agreed to.
As to if you are required to provide an ID to an officer or answer questions will depend on the facts and circumstances of the situation. Is the officer investigating a crime or suspicion of a crime? Is the officer just walking down the street and asks you for your ID? Based on what you provided it is difficult to assess your particular facts and circumstances.Ask a similar question