Add convert id functionality.