Creates a new queue instance and returns the Queue ID.
example:
.@id = queue(); //Sets the QueueID into .@id