Prime number theorems for Basmaijan-type identities