public static function find($id, $idColumn = null)
	{
		$tableName = static::tableName();
		$idColumn = $idColumn ?: static::$idColumn;

		$rows = Db::query("
			select *
			from $tableName
			where $idColumn = :id
		", ["id" => $id], static::getDbName());

		if ($rows === false)
			return false;
		if (empty($rows))
			return null;
		
		// Populate model
		$model = new static;
		foreach ($rows[0] as $col => $val) $model->$col = $model->decodeValue($val, $col);
		return $model;
	}