extract_namespace function

Extract the Namespace from a Model Call