This function returns the portion of the URL that embodies the key.
key – (str) : The name of the key field.
key_type – (str) : Either ‘integer’ or something else.
formatted key – (str) : such as <int:id>