Fix parsing of id(1) output: names can contain hyphens.

Fixes #113.