Check if name is unique when adding a stock item.