Validates if a string matches the component reference pattern
The string to validate
boolean indicating if the string is a valid component reference
Validates if a string matches the component reference pattern