The most common way is by tracking your IP address. Most casinos allow for one account per IP address.
Another way is by asking you to verify your ID at some point in the future. If your ID documents correspond with another account, you are likely to be banned.