id based on slug