Well no, Netbeans has no way. But subversion ...
Exact tag $Id$, and it matches the svn property svn:keywords=Id. Locate the configuration file (in linux, usually under ~/.subversion/config. In the windows, I found it under ~\Application Data\Subversion\Config. Locate this file (or create it if it does not exist), and then add the following lines:
[miscellany]
enable-auto-props = yes
[auto-props]
*.php = svn:keywords=Id
LF (\n), :
*.php = svn:keywords=Id;svn:eol-style=LF