In Tx its a charge, Failure to Identify oneself.The roomate thing isn't a big deal unless your place really reeks of bud.
Texas law states:
Sec. 38.02. Failure to Identify.
(a) A person commits an offense if he intentionally refuses to give his name, residence address, or date of birth to a peace officer who has lawfully arrested the person and requested the information.
(b) A person commits an offense if he intentionally gives a false or fictitious name, residence address, or date of birth to a peace officer who has:
(1) lawfully arrested the person;
(2) lawfully detained the person; or
(3) requested the information from a person that the peace officer has good cause to believe is a witness to a criminal offense.
Only other circumstance were you are legally forced to show ID is if you are a fugative from justice(LOL) or if the crime or incident being investigated has to do with illegal liquor sales(minor possession or consumption).
It's all about having committed an offense, being under arrest/detained, or the officer believes you are a witness to a crime. Nowhere in that law does it stat you must show ID in all other circumstances. As I said, if you know the laws and assert them it can give one an advantage.
Edit-The roommate thing has nothing to do with home smelling of bud or a suspected grow house, it has to do with a person who is on parole or probation being on a lease or contract who's legal residence can be searched without cause. One would have to go state by state to find the exact laws and what levels of probation one would be subject to a no-warrant search or entry.