Hook Form Alter Specific Node
The $form array contains a #node key which has the nid attribute. Use that to filter like so:

if($form['#node']-&gt;nid == 1072) { ... }


However, since you ask for page-node-1072 it sounds like you want to put something in that particular page template, in which case you should use a process or preprocess function to add or alter variables for the template.