SSP-2553 More specific error message details re student identity

Also some minor changes to the error message format itself to wrap
param output in brackets rather than just spaces (e.g. to guard
against confusion if formatted_course has spaces).