In terms of CSL styles, could this just be handled by assuming that article-journal
or article-magazine
items might have a number
variable, as well as or instead of a page
value?
That said, I really don’t understand why style guides don’t just treat article numbers as single page numbers in these cases. Bibliographic databases don’t make this distinction very widely.