Updated id parsing.

Object ids can be passed as integers or as hex strings with dashes to
support UUIDs.  The id is now optional for action views.