docs: public static int getId(Context context, String id) {
          final String defType;
          if (id.startsWith("R.")) {
              int dot = id.indexOf('.', 2);
              defType = id.substring(2, dot);
          } else {
              defType = "drawable";
          }
  
          Log.d(TAG, "getId(): id: %s, extracted type: %s", id, defType);
          return getId(context, id, defType);
      }