Check that aspects have ref attribute and pointcuts have id attribute.
Warns about aspect beans being matched by some AOP advices, which leads to runtime errors.