- prolog_canonical_source(+SourceSpec:ground, -Id:atomic) is semidet
- Given a user-specification of a source, generate a unique and
indexable identifier for it. For files we use the
prolog_canonical absolute filename. Id must be valid input for
prolog_open_source/2.