Get full device ID rather than just the last digit

Using just the last digit can cause problems, as per issue #22.
Rename id to id_num

id is a Python built-in function.
Merge pull request #24 from elyscape/master

Use the correct device for burning