Added support for retrieving license and application ids based on both deviceModel and deviceModelName