Rename getRestName to getRestId()