How a usb device identify a purpose made powerful USB charger?
Dedicated chargers short the two data lines together. The phone (or whatever) can detect this and knows it can draw more current.

Source: http://www.maximintegrated.com/en/app-notes/index.mvp/id/4803