Name and ID search check

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