add unique id to gradient