Checks bean id to comply with recommended naming conventions.