[rename] [validation] validate new name given on rename and strip leading and trailing spaces