How Can I Name An Entity With a Player's name
Solution 1:
You can't dynamically insert data into NBT (only raw JSON strings allow it somewhat, but that doesn't apply here). So using @p with CustomName is not possible. You can only "hardcode" values.