consistency change from name to id for comparisons.
Merge pull request #104 from unwin/develop

consistency change from name to id for comparisons.