def METHOD_NAME(scoped_name):
    """
    SCHEMA: my.module_name:MyClassName
    EXAMPLE:
        behave.formatter.plain:PlainFormatter
    """
    scoped_name = scoped_name.strip()
    if "::" in scoped_name:
        # -- ALTERNATIVE: my.module_name::MyClassName
        scoped_name = scoped_name.replace("::", ":")
    if ":" not in scoped_name:
        schema = "%s: Missing ':' (colon) as module-to-name seperator'"
        raise ValueError(schema % scoped_name)
    module_name, object_name = scoped_name.rsplit(":", 1)
    return module_name, object_name or ""