On reading Cohen's "Set Theory and the Continuum Hypothesis" it occurred to me that it might not have been Cohen himself who first defined $P$-names. In his book on page 113 he defines what he calls a "labeling" as follows:
Definition. A "labeling" is a mapping defined in ZF, which assigns to each ordinal $0 < \alpha < \alpha_0$, a set $S_\alpha$, the "label space", and functions $\varphi_\alpha$ defined in $S_\alpha$ such that the sets $S_\alpha$ are disjoint and if $c \in S_\alpha$, $\varphi_\alpha(c)$ is a formula $A(x)$ which has all its bound variables restricted to $X_\alpha$ and which may have elements of $S_\beta$ with $\beta < \alpha$ appearing as constants. The function $\varphi_\alpha$ must put $S_\alpha$ into one-one correspondence with the set of all such formulas. The set $S_0$ is defined as the set $\omega \cup \{a\}$ where $a$ is a formal symbol. ...
If I understand correctly this is Cohen's definition of what later became $P$-names. Hence my question: who first "invented" $P$-names?
It might have been in
(though I am certainly ready to delete this answer if someone can find an earlier reference).
Therein we have the following:
While this doesn't explicitly give the set of $P$-names as we know them today, the definition of the (weak-)forcing relation relation is quite similar to our own:
Thus we clearly have that the sets which are $P$-names in our current sense are the important ones.
Even the construction (made earlier in the paper) of the generic extension is essentially the modern one: