Added format check for Namecoin id