Spectroscopic Diagnostics of Nanoflare-heated Loops