The makeKeyIDID() function sends a key.
makeKeyIDID(expr)
<input type="submit" gwc:attributes="name makeKeyIDID('tab');"... />
produces
<input type="submit" name="f/tab"... />