And how do you tell if it's a public hotspot?
You don't. Criminal law operates on "reasonable expecation" in many areas, so there's no reason it should be any different here. If you connect in a hotel, shopping centre or train station ( as in your example ) you had a reasonable expectation of accessing a public wifi point. If you do so in a quiet residential street, you had no reasonable expectation of finding one.