As someone who tried to translate novels from Japanese without knowing it before, I can totally undarstand your difficulty of comprehending who is speaking in a novel, but, from what I've heard, any native Japanese speaker can distinguish the characters by the unique style of their dialogue lines.