Provide safer name method

Signed-off-by: Peter Atashian <retep998@gmail.com>