Non Static method call to deviceId() method