I think it's by MAC address. The switch can learn more than 10, but the first 10 it learns will have connectivity. Once it ages out of the arp cache and a new one is learned that new device should be able to connect. I believe the arp timeout is 5 minutes.
HTH