Fixed an issue with addID. Also updated the readme and an example.