protected function uniqueId(string $table, string $column = 'uniqueid') : string
{
do {
$unique = \Airship\uniqueId();
} while ($this->db->exists('SELECT count(*) FROM ' . $this->db->escapeIdentifier($table) . ' WHERE ' . $this->db->escapeIdentifier($column) . ' = ?', $unique));
return $unique;
}