generate creates a slug from a combination of id and string. extract_id grabs the id from a slug
generate
extract_id