CRIME: Deprivations of Civil Rights under Color of Law (42 USC Section 1983)
"Every*person*who, under color of any statute, ordinance, regulation, custom, or usage, of any State or Territory or the District of Columbia, subjects, or causes to be subjected, any citizen of the United States or other*person*within the jurisdiction thereof to the deprivation of any rights, privileges, or immunities secured by the Constitution and laws, shall be liable to the party injured in an action at law, suit in equity, or other proper proceeding for redress, except that in any action brought against a judicial officer for an act or omission taken in such officer’s judicial capacity, injunctive relief shall not be granted unless a declaratory decree was violated or declaratory relief was unavailable. For the purposes of this section, any Act of Congress applicable exclusively to the District of Columbia shall be considered to be a statute of the District of Columbia."


Note that the First Amendment to the United States Constitution guarantees both the right to Freedom of Speech and the right to petition the government for a redress of grievances.

Also note that Texas Penal Code 38.02 only requires you to show ID AFTER A LAWFUL ARREST. Since photography of a public building is not a crime, and was even ruled as Protected First Amendment Activity by the Turner v. Driver ruling, the arrested person was under no legal obligation to show his identification.