--- phptemplate.engine      2007-08-14 12:33:11.000000000 +1000
+++ phptemplate.engine.patch  2007-08-14 12:32:01.000000000 +1000
@@ -238,6 +238,9 @@
   $suggestion = 'page';
   $suggestions = array($suggestion);
   while ($arg = arg($i++)) {
+    if (is_numeric($arg)) {
+      $suggestions[] = $suggestion . '-~';
+    }
     $suggestions[] = $suggestion . '-' . $arg;
     if (!is_numeric($arg)) {
       $suggestion .= '-' . $arg;