Modify/add to price based on custom field?
You could simply use variants to handle this couldn't you?  A non-name and named variant, each with a different price.

There's no other built in way to do what you want without PHP, I think.  The PHP would not be too complex though, if you fancy adventuring into Craft plugins, which are super-useful with Commerce in general, opening up all sorts of extra possibilities.