Cleaned up comments and logging.  Added deprecation warning if no unique 'id is specified in the call.  Sending pull request.