Restrictions for dimension and variable names

Also, I would check the naming restrictions/ convention in tensorflow as they have name arg as well