Check that names in a program (including imports) are unique (closes #66)