Get a project variable by its unique ID.