Analogy between Anderson T-motives and abelian varieties with multiplication by imaginary quadratic fields, and related problems