moderator logs again
add function getIdFromLocation

This function is used to normalize URLs in messages from embedded
players.