Implemented available ids for renaming