M-Canonical ideals in integral domains