name: Introducing new name::Component::is* methods

These methods allow checking if the name component follows the specific
naming convention without relying on exception handling.

Change-Id: I9799c860ad203f777d7ad6671c9a13506388c1c7
Refs: #2088