Add --namefield option for dynamic metric names.

The --namefield option is used to specify a field in the search results
with values that should be part of the metric name. This functionality
allows users to build dynamic names as part of a Splunk search.

Fixes issue #1.