Add OnDeclaratorId and use it to enter the prototype scope.