Removing unnecessary ID strings and modifying the existing ID.