Add some utility to get chip id for sam3.