You can distinguish them through the BSSID - if someone does not assign a fixed MAC address, they will probably have different (unique) MAC addresses.
They can also be on another channel. I think it is impossible if two networks have the same SSID , the same channel and the same BSSID .
source share