Not every federal building requires an ID. They are really talking about controlled-access buildings where you can’t enter unless you have an appointment (like, say, FBI headquarters, the White House, the Pentagon, etc). Courts and congressional offices don’t generally fall into that category.