Twelve novelists have been longlisted for a £25,000 award named after a famous Scottish writer.