Seperate name from id with hyphen