code: function( entity, name ) {
  		var tn = this.bundleName + "/" + name;
  
  		// Prohibit profile addition from now on
  		this.canAddProfile = false;
  
  		// Write control operation
  		this.stream8.write( pack1b( CTRL_OP.EXPORT ) );
  		this.counters.op_ctr++;
  		// Write string ID from the string lookup table
  		this.stream16.write( pack2b( this.stringID(tn) ) );
  		this.counters.ref_str+=2;
  
  		// Encode primitive
  		encodePrimitive( this, entity );
  
  		// Keep on xref database
  		this.dbTags.push(tn);
  		this.dbObjects.push(entity);
  		this.database[tn] = entity;
  
  	}
docs: Encode entity