raise error if can't determine identifier