Removed supportedId() call in findAttribute, as it is a potential
performance bottleneck