ascribe
To regard something as caused by, made by, said by or belonging to someone or something.
Tell
names an author, source or trait
Best when
You need the general word for linking an effect, a work, a saying or a trait to its source, without saying what kind of link it is.
Example
“Critics ascribe a dark motive to the character.”