Name and ID search check

Hide name and/or id search if not supported by all layers

Closes #34
Merge pull request #263 from agrc/check

Name and ID search check