slicc: Fix bug in enqueue and peek statements.

These were not generating the correct c names for types declared within a
machine scope.
diff --git a/src/mem/slicc/ast/PeekStatementAST.py b/src/mem/slicc/ast/PeekStatementAST.py
index cecb9aa..f5ef91d 100644
--- a/src/mem/slicc/ast/PeekStatementAST.py
+++ b/src/mem/slicc/ast/PeekStatementAST.py
@@ -1,3 +1,4 @@
+# Copyright (c) 2013 Advanced Micro Devices, Inc.
 # Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
 # Copyright (c) 2009 The Hewlett-Packard Development Company
 # All rights reserved.
@@ -55,7 +56,7 @@
         self.queue_name.assertType("InPort")
 
         # Declare the new "in_msg_ptr" variable
-        mtid = msg_type.ident
+        mtid = msg_type.c_ident
         qcode = self.queue_name.var.code
         code('''
 {