detect sim card number and send to web server?

i'm using an ethernet shield, a router and a cellular modem to send data to a web server. i want to send the data to different database based on the sim card number used. how can i do this? can i use the ip address?