original_string: public function get_id_by_bit(string $id): ?string
    {
      if ( \bbn\str::is_uid($id) && ($p = $this->get_by_bit($id)) ){
        return $p[$this->fields['id']];
      }
      return null;
    }
code: public function get_id_by_bit(string $id): ?string
    {
      if ( \bbn\str::is_uid($id) && ($p = $this->get_by_bit($id)) ){
        return $p[$this->fields['id']];
      }
      return null;
    }
code_tokens: public function get_id_by_bit ( string $ id ) : ? string { if ( \ bbn \ str :: is_uid ( $ id ) && ( $ p = $ this -> get_by_bit ( $ id ) ) ) { return $ p [ $ this -> fields [ 'id' ] ] ; } return null ; }
docstring: Gets the preference's ID from a bit ID
  
  @param string $id The bit's ID
  @return string
docstring_tokens: Gets the preference s ID from a bit ID