Converts literal to numerical device names and vice versa.
converted = cock.convertDevice ( input, forceliteral )
number input
boolean forceliteral
string converted
Function will make no change if it was supplied with literal input and forced to output literal value. Same for numerical values.