docs: add ``::``s before doctests.
basemixin: add `singular_class_slug` classproperty.