Checks that abstract class names conform to the specified format