Try TX Penal code Sec 38.02(b)2 will give you the statute you were arrested under next time read the whole thing not just the first sentence.
Originally Posted by frenchlouie
Interesting...
§ 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.
(c) Except as provided by Subsections (d) and (e), an
offense under this section is:
(1) a Class C misdemeanor if the offense is committed
under Subsection (a); or
(2) a Class B misdemeanor if the offense is committed
under Subsection (b).
(d) If it is shown on the trial of an offense under this
section that the defendant was a fugitive from justice at the time
of the offense, the offense is:
(1) a Class B misdemeanor if the offense is committed
under Subsection (a); or
(2) a Class A misdemeanor if the offense is committed
under Subsection (b).
(e) If conduct that constitutes an offense under this
section also constitutes an offense under Section 106.07, Alcoholic
Beverage Code, the actor may be prosecuted only under Section
106.07.
Doesn't say you have to identify yourself to a police officer BEFORE you get arrested, only AFTER you get arrested and they have requested it. Section B is only about giving false information and doesn't apply unless when the OP "refused to give his name" he actually said "I don't know it" or something false and the officer thought he was a witness to a criminal offense. If he wasn't under arrest, and actually just refused to give his name, sounds like he was within the statute.
I'm no lawyer though...just reading words...so go get a lawyer if you want.