What are the characteristics of an idiom?

An idiom is a phrase that cannot be defined by contextual clues.