updated supplier class

get method for id