ProcessTag:

--------------------------------------------------------------------------
   Code used to process tags for sensors and actuators.
--------------------------------------------------------------------------
   Form:
   [k, tag] = ProcessTag( action, tag, k, name )
--------------------------------------------------------------------------

   ------
   Inputs
   ------  
   action     (1,:) Action
   tag        {:}   Tag list
   k	       {:}   Index or tag
   name       (1,:) Name of calling function

   -------
   Outputs
   -------
   k	       {:}  Index
   tag        {:}  Tag list

--------------------------------------------------------------------------