Wrap the device name/id in double quotes so that the generated command uses the same type of quotes consistently.