If you have uid's/gid's showing as numeric in list (e.g. ls ) commands then it's (probably) because those uid/gid have been removed (deleted) from either /etc/passwd (or /etc/shadow ) and /etc/group respectively.
If you can reinstate the entries in those files then the system will translate them into human readable uid/gid and they will no longer appear numeric. They are only appearing numeric now because those numbers do not appear in the files and so cannot be made human readable. Perhaps the original owner's user account was deleted? Change the ownership of those files to a currently valid account.