I have tried to give my own definition of "prime element" that fits nicely with how I see abstract algebra. Here it is:
Given an algebraic structure of this form (including any other axioms):
$$ \mathcal{A} = (S, \cdot, 0_S)$$
where $S$ is a set, $\cdot$ is a binary operation, and $0_S$ is the identity for the operation, s.t.
$$\forall p \in S, 0_S \cdot p = p \cdot 0_s = p$$
we define a prime element this way.
Given $p \in \mathcal{A}$ and $F_p \subset S \times S$ s.t. for $\forall (f1, f2) \in F_p, f1 \cdot f2 = p$, then we call $p$ a prime element iff $F_p = \{(0_p, p) \}$.
Now, we can do proofs like this: Do the integers contain a prime element? No.
proof:
$$\mathcal{A} = (\mathbb{Z}, 0, +)$$
We have the added axiom of inverses: $\forall a \in \mathcal{A}, \exists a^{-1}$ s.t. $ a + a^{-1} = 0$
We have the added axiom of closure: $\forall a,b \in \mathcal{A}, \exists c \in \mathcal{A}$ s.t. $a + b = c$.
By closure, $\forall p,a \in \mathcal{A} \exists b \in \mathcal{A} $ s.t. $ p + a =b$
Then $p = b + a^{-1}$ and by inverses $a^{-1} \in \mathcal{A}$
Then $|F_p| = \mathbb{Z}$
and so $ F_p \neq \{(0, p) \} \forall p $
We want to now do a proof that natural numbers with multiplication contains primes.
$\mathcal{A} = (\mathbb{N}, \times, 1)$
This has all the base axioms we need. We want to use the property that this is actually a commutitave monoid on countably many generators. The proof is trivial because the generators are the primes and we just say that generators must have $F_p = \{ (1, p) \}$.
My question is, what is wrong with my definition of prime element? If it is acceptable, can we use this as a basis to describe which algebraic structures will have "prime elements" according the definition?