I think while you use the PowerCLI commad to get the vmhost it also show one ID which is known as MOID. I have tested this and master selection come as per that ID if the number of datastore are same on all the host (number of datastore tie).
Get-VMHost | Select-Object Name,ID
Regards
Regards
Ravinder Kumar
VCP3|VCP4|VCP5|VCP-Cloud|VCAP4-DCA|VCAP5-DCA|VCAP5-CIA|VCI-L2