use print_error function to output error messages
make namespace for function get_string optional (use 'scorm' as default value)