Defined pitchtools.Segment._item_coercer.

The definition body is a single line:

    @property
    def _item_coercer(self):
        return self._item_class

This makes sense because a PitchSegment with item_class=NamedPitch should
coerce items by calling NamedPitch(item).