Add support for device id collection on win8 and winphone