docs: def get_id(self):
          """ Returns object id or ``None``.
          """
          import warnings
          warnings.warn('{0}.get_id() is deprecated, '
                        'use {0}.id instead'.format(type(self).__name__),
                        DeprecationWarning)
          return self.get('_id')