protected function getSegment($id) { return sprintf('%0' . strlen($this->segments) . 'd', $id % $this->segments); }