Added helper method to create IDs. Implemented and tested phaes 3. Closes #200. Closes #201.