I think ATT can detect that you are using an iphone because of something called IMEI which is some kind of phone identification and is not dependent on sim card or
sim unlock card you may have. If you dont want data you can just insert an wrong APN, that should be a safe way to not get data charges if you dont want data services.