I doubt that these laws are going away any time soon. Perhaps modified as more and more influential people see "programming" as "engineering", but doubtful that they'll go away for things like civil/mechanical/electrical infrastructure.
[1] http://laist.com/2016/01/30/fake_civil_engineers_may_have_bu...
The Supreme Court disagrees.
Similarly, simply saying "i am an engineer" is obviously not a crime. Students do it all the time, despite not being licensed. Using it to lend credence to your ideas around traffic lights, however, may be a different story. I think thats the crux of the dispute.
There are more limitations but that's an easy and possibly counterintuitive example.
It's a reference to dicta in that case, which would be dubious to cite as meaningful even had Shenck not been overturned.
[0]https://en.wikipedia.org/wiki/Shouting_fire_in_a_crowded_the...
https://www.popehat.com/2015/05/19/how-to-spot-and-critique-...
It's a meaningless saying that doesn't actually have any real bearing on the law or the first amendment.
Other examples besides claiming to be a doctor/lawyer while giving advice include: remarks that constitute credible threats to someone's life.
By the way, and appropriate to this thread, I am not a lawyer.
"I, JB Reefer, am God, command you to stop driving. I am the king of all engineers, president of space, etc etc etc"
and it doesn't matter. You really do get to say whatever the fuck you want in this country, as long as it doesn't cause direct harm to someone else. There's no "this doesn't apply to job title" caveat.