Validate the package name according to JLS