code: function (uri, id) {
          var payload = uriHelper.encodePayload(uri);
          if (!id) { id = []; }
          return ndef.record(ndef.TNF_WELL_KNOWN, ndef.RTD_URI, id, payload);
      }
docs: Helper that creates a NDEF record containing a URI.
  
  @uri String
  @id byte[] (optional)