Added Functionality and Dictionary Reference to convert ids