docs: private static String cleanODataPath(String path, HandleParametersOption handleParameters) {
  		String cleanedPath = path;
  		
  		if (HandleParametersOption.USE_ALL.equals(handleParameters) ) {
  			cleanedPath = path;
  		} else {
  
  			// check for single ID (unnamed)
  			Matcher matcher = patternResourceIdentifierUnquoted.matcher(path);
  			if (matcher.find()) {
  				String resourceName =  matcher.group(1); 
  				String resourceID   =  matcher.group(2);
  			
  				String subString = resourceName + "(" + resourceID + ")";
  				int begin = path.indexOf(subString);
  				int end   = begin + subString.length();
  				
  				String beforeSubstring = path.substring(0,begin);
  				String afterSubstring  = path.substring(end);
  				
  	
  				if (HandleParametersOption.IGNORE_COMPLETELY.equals(handleParameters) ||
  				    HandleParametersOption.IGNORE_VALUE.equals(handleParameters)	     ) {
  					
  					StringBuilder sb = new StringBuilder(beforeSubstring);
  					sb.append(resourceName).append("()").append(afterSubstring);
  					cleanedPath = sb.toString();
  				} 
  							
  			} else {
  				
  				matcher = patternResourceMultipleIdentifier.matcher(path);
  				if (matcher.find()) {
  					// We've found a composite identifier. i.e: /Resource(field1=a,field2=3)
  					
  					String multipleIdentifierSection =   matcher.group(1); 
  					
  					int begin = path.indexOf(multipleIdentifierSection);
  					int end   = begin + multipleIdentifierSection.length();
  	
  					String beforeSubstring = path.substring(0,begin);
  					String afterSubstring  = path.substring(end);
  
  					if (HandleParametersOption.IGNORE_COMPLETELY.equals(handleParameters) ) {
  							cleanedPath = beforeSubstring + afterSubstring;
  					} else {
  						StringBuilder sb = new StringBuilder(beforeSubstring);
  						
  						matcher = patternResourceMultipleIdentifierDetail.matcher(multipleIdentifierSection);
  						int i = 1;
  						while (matcher.find()) {
  							
  							if (i >  1) {
  								sb.append(',');
  							}
  							String paramName       = matcher.group(1);
  							sb.append(paramName);
  							i++;
  						}
  					
  						sb.append(afterSubstring);
  						cleanedPath = sb.toString();
  					}
  							
  				} 
  			}		
  		}
  		
  		return cleanedPath;
  	}