Fix #13807: attribute/Object.prototype name collisions
(cherry picked from commit 67a080b284af50433583da05f84e73bc63814bab)