When can one refrain from attributing a character to a quote? i.e. "Let's go to the store, Harry," Melody said. "What do we need?" I asked. "Nothing. I just want to go shopping." Note that I don't attribute the last line to Melody, but it does seem obvious. What are the rules surrounding this issue?