When we speak of inanimate objects as if they were human, what are we using?

allusion
onomatopoeia
metaphor
personification