Trade bodies... protecting their members since the middle ages.
If I need an engineer, I should have at least some assurance that they know what they are doing, and that they aren't going to act unethically or against my best interest. I should also have some assurance that the fact they hold a license, means that they (probably) haven't been negligent, or harmful with their practice.
This is what Texas used for its software licensure examination: https://nceesorg.wpenginepowered.com/wp-content/uploads/2015...
All of that seems like, the barest minimum that I don't think anyone would disagree with to call someone a software engineer.