SIG: Speaker Identification in Literature via Prompt-Based Generation