The norm of an ideal $\mathfrak{a}\unlhd \mathcal{O}_K$ in a number field $K$ is defined by $N(\mathfrak{a}):=(\mathcal{O}_K:\mathfrak{a})$. One justifies this definition by the observation that $$ N\big((\alpha)\big)=|N_{K/\mathbb{Q}}(\alpha)|. $$ (See Neukirch's 'Algebraic Number Theory', page 35.) I'm having some trouble computing a should-be-easy example of this 'justification' for non-integer values of $\alpha$. In what follows, let's take $K=\mathbb{Q}(i).$
Example that I understand: If $\alpha=5$ then we know from looking at the characterization of $N_{K/\mathbb{Q}}$ in terms of embeddings into $\overline{\mathbb{Q}}$ that $N_{K/\mathbb{Q}}(5)=25$. To compute the ideal norm, we know $\mathcal{O}_K=\mathbb{Z}[i]$ has integral bases $1,i$ and so $(5)$ has $\mathbb{Z}$-basis $5,5i$. So $\mathcal{O}_K=\mathbb{Z}+i\mathbb{Z}\cong \mathbb{Z}^2$ and $(5)=5\mathcal{O}_K\cong 5\mathbb{Z}^2$. Since $$ \frac{\mathcal{O}_K}{5\mathcal{O}_K}\cong\frac{\mathbb{Z}\oplus \mathbb{Z}}{5\mathbb{Z}\oplus 5\mathbb{Z}}\cong \mathbb{Z}/5\mathbb{Z}\oplus \mathbb{Z}/5\mathbb{Z}\ $$ we get $N\big((\alpha)\big)=25$ as well.
Example where I need help: Now let's take $\alpha=2+i$. In this case, $$N_{K/\mathbb{Q}}(\alpha)=(2+i)(2-i)=5,$$ but I can't seem to show that $N\big((\alpha)\big)=5$. The issue is that I can't seem to get a nice $\mathbb{Z}$-basis for $\mathbb{Z}[i]$ so that the basis elements for $(\alpha)$ are just integer multiples of the basis for $\mathbb{Z}[i]$, as in the previous example. More clearly, I'd like some integral basis $v_1,v_2\in \mathbb{Z}[i]$ so that $\alpha v_i=d_iv_i$, $i=1,2$. If I can find such a basis then $$ (\alpha)=\alpha\mathcal{O}_K=\mathbb{Z} \alpha_1v_1+\mathbb{Z} \alpha_2v_2=\mathbb{Z} d_1v_1+\mathbb{Z} d_2v_2, $$ in which case it would follow that $$ \frac{\mathcal{O}_K}{\alpha\mathcal{O}_K}\cong \frac{\mathbb{Z}\oplus \mathbb{Z}}{d_1\mathbb{Z}\oplus d_2\mathbb{Z}}, $$ which would allow me to compute the ideal norm easily (it would just be the determinant $d_1d_2$, which I know has to be 5). At this point, I feel like it should be an easy linear algebra problem (Smith normal form??), but I can't get it to work. I would appreciate a refresher of how these types of computations work, particularly the linear algebra details.