added alias for "cacheid" in cache sql command, updates #337

fixes the cacheid problem in viewlogs.php