Added automatically created ID to process and R API in order to improve
logging.