die if required argument not set
return 0 on error in get_id_from_name()