I think when I write, I get an initial idea and then the melody that evolves around the basic idea, adds to that and shapes the words that follow, sort of half and half... Clear as mud, I guess?!