Checks that name of non-static fields conform to the specified format