'Returns a unique identifier from `string`.
The type of the identifier is backend-specific, and this is
typically implemented in the backend-specific subclasses'

@staticmethod
def str2id(string):

    raise NotImplementedError
