Assigning Riffs to Bots

YOUR QUESTION:
I’ve always wondered at what point in the writing process the riffs are assigned to each character. What makes a riff a “Crow line” instead of a “Servo line”, instead of a host line?

NAME TO CREDIT:
J. Michael DeAngelis

HOW TO PRONOUNCE IT:
The usual ways.