py/scope: Use lookup-table to determine a scope's simple name.

Generates slightly smaller and more efficient code.
diff --git a/py/compile.c b/py/compile.c
index 3039f98..2253ccd 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -3288,7 +3288,7 @@
             // __class__ is not counted as a local; if it's used then it becomes a ID_INFO_KIND_CELL
             continue;
         }
-        if (scope->kind >= SCOPE_FUNCTION && scope->kind <= SCOPE_GEN_EXPR && id->kind == ID_INFO_KIND_GLOBAL_IMPLICIT) {
+        if (SCOPE_IS_FUNC_LIKE(scope->kind) && id->kind == ID_INFO_KIND_GLOBAL_IMPLICIT) {
             id->kind = ID_INFO_KIND_GLOBAL_EXPLICIT;
         }
         // params always count for 1 local, even if they are a cell