Implement a new patch identification scheme and id command