SoundId validate(IStr message = defaultEngineValidateErrorMessage)
Returns this resource if valid, or asserts with the given message if not.