CaloIdentifier: Remove references to ExpandedIdentifier::last_error.
Error handling using ExpandedIdentifier::last_error is largely useless, as there are hardly any errors that are actually reported, and is not thread-safe. Remove this error handling. Remaining error cases will be changed in ExpandedIdentifier to use exceptions.