Um, yes? That's literally the law. A police officer only has to identify AS an officer. They don't have to identify which branch (police, FBI, etc.) "Police" is enough. Ask any defense attorney.
> It is of unclear legality whether a federal agent can arrest a someone for violating state law
State law? They're literally destroying federal buildings. The federal agents are not enforcing ANY state laws. They are only enforcing federal laws: