helper function for extracting argtable literal from cli_literal by identifier