Restore Project::id() specific to QtC 3.0

Conditionally compile the id() for QtC 3.0, but setId() for QtC 3.1+