Adds try…catch block for native functins.
Adds getDeviceIdentifier method.
Refactors method name.
Merge branch 'master' of https://github.com/rozd/deviceinfo