Stereotypical behavior can help an author form a stellar character. Here’s how.