Partitions and theta constant identities