Validates <bean> "scope" attribute